package com.tnr.scgcxx.dao.info;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.tnr.scgcxx.model.info.Customer;

@Repository
public interface CustomerDao {
	public List<Customer> findCustomers(Customer customer);

    int deleteCustomerById(Integer cus_id);

    int deleteCustomerByIds(Integer[] cus_ids);

    Customer findCustomerById(Integer cus_id);

    int addCustomer(Customer customer);

    int updateCustomer(Customer customer);

    int updateCustomerStatusByIds(Integer[] customer_ids, String customer_status);
}
